package com.thinkit.bigdata.web.dao.sys;

import com.thinkit.bigdata.core.feature.orm.mybatis.Page;
import com.thinkit.bigdata.web.model.sys.SysApprovalTask;
import com.thinkit.bigdata.web.model.sys.SysApprovalTaskExample;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

public interface SysApprovalTaskMapper {
    int countByExample(SysApprovalTaskExample example);

    int deleteByExample(SysApprovalTaskExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SysApprovalTask record);

    int insertSelective(SysApprovalTask record);

    List<SysApprovalTask> selectByExample(SysApprovalTaskExample example);

    List<SysApprovalTask> selectByExample(Page<SysApprovalTask> page, SysApprovalTaskExample example);

    List<SysApprovalTask> selectByExampleMap(Page<SysApprovalTask> page, Map map);

    SysApprovalTask selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SysApprovalTask record, @Param("example") SysApprovalTaskExample example);

    int updateByExample(@Param("record") SysApprovalTask record, @Param("example") SysApprovalTaskExample example);

    int updateByPrimaryKeySelective(SysApprovalTask record);

    int updateByPrimaryKey(SysApprovalTask record);
}